@charset "utf-8";
body {
    /*    height: 2000px;*/
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: #ddd;
    background-image: url(../images/texture.png);
    transition: background-color 2s ease-in;
}

/*logo*/

.container {
    position: relative;
    width: 960px;
    height: 100%;
    margin: 23px auto 0;
}

.container .logo {
    position: absolute;
    left: 909px;
    top: 0;
}

.container .logo>h1 {
    width: 60px;
    height: 520px;
    background: url(../images/logo.png) no-repeat;
    position: fixed;
    text-indent: -9999px;
}

/*搜索框*/

.color_card {
    width: 480px;
    height: auto;
    position: relative;
}

.search_box {
    position: absolute;
    top: -10px;
    left: 25px;
    width: 320px;
    height: 30px;
    border-radius: 15px;
    outline: none;
    border: none;
}

/*颜色分类导航*/

.type_nav {
    list-style: none;
    position: absolute;
    left: -130px;
}

.type_nav li {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    margin: 20px 0;
    color: white;
    font-weight: 300;
    font-family: "Microsoft YaHei", "微软雅黑", Helvetica;
    cursor: pointer;
    transition: border 0.8s, color 0.8s;
}

.type_nav li.all:hover {
    border: 2px solid skyblue;
    color: skyblue;
}

.type_nav li.purple:hover {
    border: 2px solid purple;
    color: purple;
}

.type_nav li.red:hover {
    border: 2px solid red;
    color: red;
}

.type_nav li.gray:hover {
    border: 2px solid gray;
    color: gray;
}

.type_nav li.blue:hover {
    border: 2px solid blue;
    color: blue;
}

.type_nav li.green:hover {
    border: 2px solid green;
    color: green;
}

.type_nav li.yellow:hover {
    border: 2px solid yellow;
    color: yellow;
}

.type_nav li.brown:hover {
    border: 2px solid brown;
    color: brown;
}

.type_nav li.other:hover {
    border: 2px solid #000;
    color: #000;
}

/*颜色块*/

.color_box {
    list-style: none;
    position: absolute;
    width: 480px;
    height: 100%;
    left: -23px;
    top: 0;
    margin-top: 0;
    transform-style: preserve-3d;
}

.color_box li,
.search_box li {
    cursor: pointer;
    position: absolute;
    margin-top: 40px;
    margin-right: 20px;
    width: 50px;
    height: 40px;
    background-repeat: no-repeat;
    /* border-top: 6px solid rgb(92, 34, 35); */
}

.color_box li div,
.search_box li div {
    width: 50px;
    height: 278px;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../images/col_bg.png) no-repeat;
}

.color_box li a,
.search_box li a {
    display: block;
    overflow: hidden;
    width: 50px;
    height: 278px;
    color: #fff;
    transition: background-color 0.15s linear;
    padding-left: 1.8em;
    text-decoration: none;
    transition: opacity 0.5s, color 0.5s;
}

/* .color_box li a:hover,
.search_box li a:hover {
    opacity: 0.4;
    color: rgb(92, 34, 35);
} */

.color_box li a .name,
.search_box li a .name {
    font-family: "Microsoft YaHei", "微软雅黑", Helvetica;
    padding-top: 1em;
    display: block;
    width: 1em;
}

.color_box li a .pinyin,
.search_box li a .pinyin,
.color_box li a .rgb,
.search_box li a .rgb {
    font-size: 0.8em;
    display: block;
    position: absolute;
    top: 148px;
    width: 1em;
    transform: rotate(90deg);
}

.color_box li a .rgb,
.search_box li a .rgb {
    right: 35px;
}

.color_box li a canvas,
.search_box li a canvas {
    position: absolute;
    left: 0;
    top: 0;
}

/*颜色的名字*/

.color_info {
    position: absolute;
    left: 680px;
    top: 0px;
    height: 507px;
    width: 110px;
}

.color_info h2 {
    position: fixed;
    color: white;
}

.color_info h2 .rgb_cx16 {
    display: block;
    height: 30px;
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0;
    transition: opacity 1s;
}

.color_info h2:hover .rgb_cx16{
    opacity: 1;
}


.color_info h2 div {
    width: 100%;
    height: 507px;
    display: flex;
    justify-content: center;
}

.color_info h2 .name {
    font-family: 'lixukexingshu10f2d692441c3e5';
    font-size: 100px;
    color: #fff;
    margin: auto;
    display: block;
    width: 110px;
    text-align: center;
    background-position: center top;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in;
}

/*颜色的具体值*/

.value_box {
    position: absolute;
    left: 504px;
    top: 0px;
}

.color_value {
    width: 100px;
    height: auto;
    position: fixed;
}

.cmyk_value {
    width: 50px;
    margin: auto;
}

.CMYK_font {
    width: 50px;
    height: 9px;
    padding-top: 10px;
    margin: 10px 0 6px 0;
    color: #fff;
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
    background: url(../images/bdr_w_50.png) no-repeat;
}

.cmyk_value .c,
.m,
.y,
.k {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    position: relative;
}

.cmyk_value .c {
    color: #0093D3;
}

.cmyk_value .m {
    color: #CC006B;
}

.cmyk_value .y {
    color: #FFF10C;
}

.cmyk_value .k {
    color: #333;
}

.cmyk_value .cfont {
    position: relative;
    z-index: 500;
}

.cmyk_value span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}

.cmyk_value .circle {
    background: url(../images/circle.png) no-repeat;
}

.cmyk_value .r {
    -webkit-mask-image: url(../images/circle_r.png);
}

.cmyk_value .l {
    -webkit-mask-image: url(../images/circle_l.png);
}

.cmyk_value .c .r>.line,
.cmyk_value .c .l>.line {
    display: block;
    left: 1px;
    background: url(../images/colorBox.png) no-repeat;
    transition: transform 1s;
}

.cmyk_value .m .r>.line,
.cmyk_value .m .l>.line {
    display: block;
    left: 1px;
    background: url(../images/colorBox.png) no-repeat 0 -50px;
    transition: transform 1s;
}

.cmyk_value .y .r>.line,
.cmyk_value .y .l>.line {
    display: block;
    left: 1px;
    background: url(../images/colorBox.png) no-repeat 0 -100px;
    transition: transform 1s;
}

.cmyk_value .k .r>.line,
.cmyk_value .k .l>.line {
    display: block;
    left: 1px;
    background: url(../images/colorBox.png) no-repeat 0 -150px;
    transition: transform 2s;
}

.rgb_value {
    margin: auto;
    width: 50px;
    height: 180px;
    position: relative;
}

.rgb_value .rgb_num {
    width: 100%;
    height: 25px;
    position: relative;
    overflow: hidden;
}

.rgb_value .rgb_num>div {
    width: 13.36px;
    height: 25px;
    color: white;
    font-size: 24px;
    position: absolute;
    bottom: 0;
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.1em;
    transition: transform 2s;
}

.rgb_num>div.num_1 {
    right: 28px;
}

.rgb_num>div.num_2 {
    right: 14px;
}

.rgb_num>div.num_3 {
    right: 0;
}

/*搜索框*/

.search {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 95%;
    background-color: transparent;
    transition: background 1.5s, left 1.5s;
}

/*最小为5%，所以缩小为-95%*/

.search .pull_btn {
    width: 5%;
    height: 100%;
    display: flex;
}

.search .pull_btn img {
    width: 50px;
    height: 50px;
    margin: auto;
    transform: rotate(90deg);
    cursor: pointer;
}

.search .search_box {
    width: 600px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -300px;
    text-align: center;
}
.search .search_box .search_btn{
    width: 50px;
    height: 50px;
    background: transparent;
    position: absolute;
    right: 20px;
    top: 100px;
    cursor: pointer;
}

.search .search_box input {
    width: 600px;
    height: 50px;
    margin: 100px 0;
    outline: none;
    border: none;
    border-radius: 25px;
    background: #000 url(../images/search.png) no-repeat;
    background-size: 30px 30px;
    background-position: 550px 10px;
    text-align: center;
    color: white;
    font-size: 26px;
    box-shadow: 0.5px 0.5px 5px #fff, -0.5px -0.5px 2px #fff;
}

.search .search_box .search_result {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 600px;
    height: 287px;
    display: flex;
    justify-content: space-around;
}

.search .search_box .search_result li {
    position: relative;
    margin: 0;
}